package wiz.client.ui.viewimpl;

import wiz.client.activities.GameScoreView;
import wiz.client.activities.playgame.GameSummaryView;

import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

public class GameSummaryViewImpl extends Composite implements GameSummaryView {

	private static GameSummaryViewImplUiBinder uiBinder = GWT.create(GameSummaryViewImplUiBinder.class);

	interface GameSummaryViewImplUiBinder extends UiBinder<Widget, GameSummaryViewImpl> {
	}

	public GameSummaryViewImpl() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	
	
	
	@UiField
	Button fStartNewRoundButton;
	
	@UiField
	Button fDoneGameButton;
	
	
	@UiField
	GameScoreViewImpl fGameScoreView;

	
	@Override
	public HasClickHandlers getStartNewRoundClickHandlers() {
		return fStartNewRoundButton;
	}
	
	@Override
	public HasClickHandlers getDoneGameClickHandlers() {
		return fDoneGameButton;
	}
	
	@Override
	public GameScoreView getGameScoreView() {
		return fGameScoreView;
	}



}
